<?php
class PackageWeightType {
	public $unitOfMeasurement;
	public $weight;

	public function __construct($weight, $unitOfMeasurement=false) {
		$this->weight = $weight;
		$this->unitOfMeasurement = $unitOfMeasurement;
	}
	/**
	 * @var UnitOfMeasurementType
	 */
	public function getUnitOfMeasurement() {
		return $this->unitOfMeasurement;
	}

	/**
	 * @var string
	 */
	public function getWeight() {
		return $this->weight;
	}
}